Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / SparseArray<T> Class / IndexOf Method
The object to locate in the SparseArray.


In This Topic
    IndexOf Method (SparseArray<T>)
    In This Topic
    Determines the index of a specific item in the SparseArray.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As T _
    ) As Integer
    'Usage
     
    
    Dim instance As SparseArray(Of T)
    Dim item As T
    Dim value As Integer
     
    value = instance.IndexOf(item)
    public int IndexOf( 
       T item
    )

    Parameters

    item
    The object to locate in the SparseArray.

    Return Value

    The index of item if found in the list; otherwise, -1.
    See Also